package com.cmxh.shipper.service.impl;

import com.cmxh.shipper.mapper.LicenseAuthenticationMapper;
import com.cmxh.shipper.pojo.LicenseAuthentication;
import com.cmxh.shipper.service.LicenseAuthenticationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LicenseAuthenticationServiceimpl implements LicenseAuthenticationService {
    @Autowired
    private LicenseAuthenticationMapper licenseAuthenticationMapper;
    @Override
    public LicenseAuthentication selectByPrimaryKey(Integer eid) {
        LicenseAuthentication licenseAuthentication = licenseAuthenticationMapper.selectByPrimaryKey(eid);
        return licenseAuthentication;
    }

    @Override
    public int insertall(LicenseAuthentication licenseAuthentication) {
        int insertall = licenseAuthenticationMapper.insertall(licenseAuthentication);
        return insertall;
    }
}
